Fix empty array edge cases in coxphfit - #488
Conversation
|
MATLAB's result for no data comes from a singular matrix inverse ( |
84025c4 to
85ddb89
Compare
85ddb89 to
fa05c17
Compare
|
updated @pr0m1th3as |
|
Please revert the new check on The empty check runs after the NaN rows are removed, so if (rows (X) != n)
error ("coxphfit: T must have one element for each row of X.");
endif
if (n == 0)
error ("coxphfit: X and T must contain at least one observation.");
endifKeep |
|
updated @pr0m1th3as |
No description provided.